package com.mybestcoding.model.acl;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mybestcoding.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/** 角色权限 */
@Data
@ApiModel(description = "角色权限")
@TableName("acl_role_permission")
public class RolePermission extends BaseEntity {
  private static final long serialVersionUID = -1725791849420289177L;

  @ApiModelProperty(value = "roleId")
  @TableField("role_id")
  private Long roleId;

  @ApiModelProperty(value = "permissionId")
  @TableField("permission_id")
  private Long permissionId;
}
